-- GENERATED SPELL FOR [Dirkee] --


function spell0_32500(pUnit, Event) --@Mechano Kick,n/a--
pUnit:FullCastSpellOnTarget(61110,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32500', 623, 1)
end

function spell1_32500(pUnit, Event) --@Suppressive Fire,n/a--
pUnit:FullCastSpellOnTarget(61103,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32500', 1500, 1)
end

function Sorts_32500(pUnit, Event)
local choix_sorts_32500 = math.random(0, 1)
if choix_sorts_32500 == 0 then
pUnit:RegisterEvent('spell0_32500', 1, 1)
end
if choix_sorts_32500 == 1 then
pUnit:RegisterEvent('spell1_32500', 1, 1)
end
end

function mob32500_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32500', math.random(1500, 3000), 1)
end

function mob32500_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32500_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32500_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32500, 1, 'mob32500_Action')
RegisterUnitEvent(32500, 2, 'mob32500_Leave')
RegisterUnitEvent(32500, 3, 'mob32500_Kill')
RegisterUnitEvent(32500, 4, 'mob32500_Die')
